package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Area;
import cn.itcast.bos.domain.base.Courier;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

public interface AreaService {

    void save(List<Area> areas);

	Page<Area> findAll(Specification<Area> spec, Pageable pageable);

	List<Area> findAll();

    void save(Area model);

    List<String> findProvince();

    List<Area> findArea(String province, String city, String district);

    List<String> findCity(String province);

    List<String> findDistrict(String province, String city);
}
